<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>余额</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>

    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js"></script>

    <style>
        .form-control{
            width: 50%;
        }
        .has-switch span, .has-switch label{
            height: auto;
        }
        .color-list li.selected {
            border: 2px solid #FF0000;
            margin: 3px;
            padding: 10px;
        }
        .color-list li {
            width: 20px;
            height: 20px;
            float: left;
            margin: 5px;
            cursor: pointer;
            list-style: none;
        }
        .ng-scope input {
            width: 82px;
            height: 34px;
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            cursor: pointer;
        }

    </style>
</head>
<body>

<!------------------导航-------------------------->
<section>
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading mgl15 mgr15">
        </div>
        <div class="panel mgr15 mgl15">

                <div class="panel panel-default" id="step1">
                    <div class="panel-body">
                        <div class="alert form form-area" style="position: relative;margin-left:370px;display: block; margin-top: 0.5px;" >
                            <form class="form-horizontal adminex-form" id="form1" action="" method="post">
                                <input type="number" name="ks" value="{$info['ks']}">
                                <input type="number" name="end" value="{$info['end']}">
                                <div style="text-align: center">
                                    <button type="submit" class="btn btn-primary" id="asdasd">确认</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>


        </div>
    </div>
</section>
</body>

<script type="text/javascript">
    $(document).ready(function(){
        $('#asdasd').trigger('click');
            console.log(1);

    })
    // 注意：获取文本框内容的时候必须是执行点击事件的时候再获取文本框
</script>
</html>
